#include <BustaNetInternal.h>
Inheritance diagram for MPNewPlayer:
Public Member Functions | |
MPNewPlayer (int pID, char *pName) | |
CONSTRUCTOR. | |
int | getPlayerID () |
Returns the new player's identification number. | |
char * | getPlayerName () |
Returns the new player's name. |
This message is received when a new player has joined the multiplayer game. When a client receives this message they are notified of the new player's identification number and name.
|
CONSTRUCTOR. Creates an instance of the MPNewPlayer class.
|
|
Returns the new player's identification number. Returns the integer identification number of the player who has just joined the game.
|
|
Returns the new player's name. Returns the name of the new player.
|